package com.allwees.bs.module.mms.rest;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.allwees.bs.core.modelbase.vo.R;
import com.allwees.bs.module.core.rest.BoCrudApi;
import com.allwees.bs.module.mms.entity.Store;
import com.allwees.bs.module.mms.req.query.StoreQueryReq;
import com.allwees.bs.module.mms.service.StoreService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 *
 *
 * @author yangylsky
 * @since 2019-12-03
 *
 */
@RestController
@RequestMapping("/backstage/api/mms/store")
public class StoreApi extends BoCrudApi<Store, StoreService> {
	@GetMapping("page")
	public R page(Page<Store> page, StoreQueryReq req) {
		return super.page(page, req);
	}
}
